package cn.iocoder.yudao.module.forward.controller.admin.strategy.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 发布策略新增/修改 Request VO")
@Data
public class StrategySaveReqVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "27562")
    private Integer id;

    @Schema(description = "授权ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "10503")
    @NotNull(message = "授权ID不能为空")
    private Integer scopeId;

    @Schema(description = "烈度", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "烈度不能为空")
    private Double intensity;

    @Schema(description = "震级", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "震级不能为空")
    private Double magnitude;

    @Schema(description = "地区")
    private String area;

    @Schema(description = "关键字")
    private String keywords;

    @Schema(description = "坐标范围")
    private String coordinates;

}